package com.secondriver.url.filter.urlrealm

class URLBean {

	def urlid;

	def des;

	def url;

	def status;

	def URLBean(params){
		if(null!=params){
			this.urlid=params['urlid'];
			this.url=params['url'];
			this.des=params['des'];
			this.status=params['status'];
		}else{
			throw new IllegalArgumentException(URLBean.class.getClass().getName()+
			' constructor parameters must not null.');
		}
	}

	@Override
	public String toString() {
		return "URLBean [urlid=${this.urlid} , des=${this.des}, url=${this.url}, status=${this.status}]";
	}
}
